<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0" />
    <title>核心api总结</title>
</head>

<body>
    <div>
        <!-- 创建 Store 状态容器 -->
        <!-- const store = Redux.createStore(reducer) -->

        <!-- 创建用于处理状态的 reducer 函数 -->
        <!-- function reducer (state = initialState, action){} -->

        <!-- 获取状态 -->
        <!-- store.getState() -->

        <!-- 订阅状态 -->
        <!-- store.subscribe(()=>{}) -->

        <!-- 触发action -->
        <!-- store.dispatch({type: 'description}) -->
    </div>
</body>

</html>